"use strict";

const env = {
  PORT: process.env.PORT || 4000,
  DATABASE_URL:
    process.env.DATABASE_URL ||
    "postgres://xingjing:1qaz2wsxE@mydb.cnf5gfhzsook.rds.cn-northwest-1.amazonaws.com.cn:5432/labeltool",
  DATABASE_NAME: process.env.DATABASE_NAME || "sequelize_blog_post",
  DATABASE_HOST: process.env.DATABASE_HOST || "localhost",
  DATABASE_USERNAME: process.env.DATABASE_USERNAME || "postgres",
  DATABASE_PASSWORD: process.env.DATABASE_PASSWORD || "",
  DATABASE_PORT: process.env.DATABASE_PORT || 5432,
  DATABASE_DIALECT: process.env.DATABASE_DIALECT || "postgres",

  NODE_ENV: process.env.NODE_ENV || "development"
};

module.exports = env;
